package com.arvato.minipro.bean.bean_do.mall;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.arvato.common.util.UUIDUtil;
/**
 * @author: smallking
 * 
 * @Descibe: 数据库门店表store所对应的java实体类
 * 
 * @Date: 2018年6月13日  下午4:42:34
 */
public class EcStoreDo {
	/**
	 * 门店的ID
	 */
    private String storeId = UUIDUtil.getUUID("store");
    /**
     * 门店的名称
     */
    private String name;
    /**
     * 门店地址
     */
    private String address;
    /**
     * 门店电话
     */
    private String phone;
    /**
     * 门店精度
     */
    private Float longitude;
    /**
     * 门店维度
     */
    private Float latitude;
    /**
     * 门店的规模
     */
    private Integer scale;
    /**
     * 门店营业时间
     */
    private String openHours;
    /**
     * 门店创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 门店备注
     */
    private String note;
    /**
     * 门店状态
     */
    private String status;

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId == null ? null : storeId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }
    
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Float getLongitude() {
		return longitude;
	}

	public void setLongitude(Float longitude) {
		this.longitude = longitude;
	}

	public Float getLatitude() {
		return latitude;
	}

	public void setLatitude(Float latitude) {
		this.latitude = latitude;
	}

	public Integer getScale() {
        return scale;
    }

    public void setScale(Integer scale) {
        this.scale = scale;
    }

    public String getOpenHours() {
        return openHours;
    }

    public void setOpenHours(String openHours) {
        this.openHours = openHours == null ? null : openHours.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }
}